home *** CD-ROM | disk | FTP | other *** search
/ PC Shareware 1997 February / PC Shareware 1997-02.iso / programy / e! / technote / ewtech.$11 / ewtech.011
Encoding:
Text File  |  1995-03-05  |  1.4 KB  |  38 lines

  1. E! for Windows - Technical Note #011
  2. *********************************************
  3. Using the EW API from an external application
  4. *********************************************
  5. Additional Feature
  6.  
  7. To make E! integrate with external applications as smoothly as possible,
  8. the EW API DLL (EWAPI2.DLL) has now an automatic loading feature.
  9.  
  10. If any program tries to load EWAPI2.DLL and if EW.EXE is not running, E! is
  11. automatically loaded without any parameter and displayed as an icon. So, you
  12. can now make direct calls to any EW API function within your application
  13. without having to load E! first.
  14.  
  15. If E! is already running, nothing particular happens.
  16.  
  17. Since E! doesn't require that the EW directory be in your PATH, you will
  18. load EWAPI2.DLL by specifying its full pathname. You can also explicitly
  19. declare that directory in your PATH. EWAPI2.DLL always assume that EW.EXE
  20. reside in the same directory as EWAPI2.DLL and will try to load it from this
  21. directory.
  22.  
  23. So, if you plan to install applications that make use of the E! API, it
  24. would be a good idea to add the \EW directory to your PATH.
  25.  
  26. For debugging purposes (for example, when writing your own Extension DLLs)
  27. you can disable this feature by adding the following entry to the [system]
  28. section of EW.INI:
  29.  
  30. [system]
  31. selfload=no
  32.  
  33. If you don't disable selfloading, you'll get problems when terminating your
  34. EWDs from KILLDLL or with any other similar utility.
  35.  
  36. Patrick Philippot
  37. 05/05/94
  38.